package com.lg.thread.day01;

/**
 * 验证线程的随机性
 * @author LG93
 * @create 2017-08-09 17:03
 **/
public class Test2 {

    public static void main(String[] args) {

        MyThread2 myThread1 = new MyThread2(1);
        MyThread2 myThread2 = new MyThread2(2);
        MyThread2 myThread3 = new MyThread2(3);
        MyThread2 myThread4 = new MyThread2(4);
        MyThread2 myThread5 = new MyThread2(5);
        MyThread2 myThread6 = new MyThread2(6);
        MyThread2 myThread7 = new MyThread2(7);

        myThread1.start();
        myThread2.start();
        myThread3.start();
        myThread4.start();
        myThread5.start();
        myThread6.start();
        myThread7.start();
    }
}
